﻿using MediatR;
using ShineTech.Domain.Models.Kanbans;
using System;
using System.ComponentModel.DataAnnotations;

namespace ShineTech.Web.Kanbans.Commands
{
    /// <summary>
    /// 确认分享
    /// </summary>
    public class ConfirmShareCommand : IRequest<ShareDTO>
    {
        public ConfirmShareCommand(Guid shareId, Guid toUserId)
        {
            ShareId = shareId;
            ToUserId = toUserId;
        }

        public Guid ShareId { get; private set; }
        public Guid ToUserId { get; private set; }
    }
}
